let express = require('express');
let app = express();
let path = require('path');
app.get('/', (request, response) => {
    response.send('hello world');
}).listen(3000,function () {
    console.log('起动成功')
});
//

app.use(express.static(path.resolve(__dirname, 'public')));